var app=angular.module('face',['ngRoute','ui.bootstrap','common']);
app.controller("HomeController",HomeController);
app.controller("SpecialController",SpecialController);
app.controller("ListController",ListController);


app.config(function($routeProvider){
    $routeProvider
        .when('/',{
            templateUrl:"/face/views/home.html",
            controller:'HomeController'
        })
        .when('/special',{
            templateUrl:"/face/views/special.html",
            controller:'SpecialController'
        })
        .when('/list',{
            templateUrl:"/face/views/list.html",
            controller:'ListController'
        })
        .otherwise({
            redirectTo:'/404.html'
        });
});